home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / patch-21.lha / patch-2.1 / ChangeLog < prev    next >
Text File  |  1993-06-10  |  12KB  |  361 lines

  1. Thu Jun 10 21:13:47 1993  Paul Eggert  (eggert@twinsun.com)
  2.  
  3.     * patchlevel.h: PATCH_VERSION 2.1.
  4.     (The name `patch-2.0.12g12' is too long for traditional Unix.)
  5.  
  6.     * patchlevel.h (PATCH_VERSION): Renamed from PATCHLEVEL.
  7.     Now contains the entire patch version number.
  8.     * version.c (version): Use it.
  9.  
  10. Wed Jun  9 21:43:23 1993  Paul Eggert  (eggert@twinsun.com)
  11.  
  12.     * common.h: Remove declarations of index and rindex.
  13.     * backupfile.c: Likewise.
  14.     (addext, basename, dirname): Avoid rindex.
  15.  
  16. Tue Jun  8 15:24:14 1993  Paul Eggert  (eggert@twinsun.com)
  17.  
  18.     * inp.c (plan_a): Check that RCS and working files are not the
  19.     same.  This check is needed on hosts that do not report file
  20.     name length limits and have short limits.
  21.  
  22. Sat Jun  5 22:56:07 1993  Paul Eggert  (eggert@twinsun.com)
  23.  
  24.     * Makefile.in (.c.o): Put $(CFLAGS) after other options.
  25.     (dist): Switch from .z to .gz.
  26.  
  27. Wed Jun  2 10:37:15 1993  Paul Eggert  (eggert@twinsun.com)
  28.  
  29.     * backupfile.c (find_backup_file_name): Initialize copy of
  30.     file name properly.
  31.  
  32. Mon May 31 21:55:21 1993  Paul Eggert  (eggert@twinsun.com)
  33.  
  34.     * patchlevel.h: Patch level 12g11.
  35.  
  36.     * pch.c (p_Char): Renamed from p_char, which is a system type
  37.     in Tex XD88's <sys/types.h>.
  38.  
  39.     * backupfile.c: Include "config.h" first, so that `const' is
  40.     treated consistently in system headers.
  41.  
  42. Mon May 31 16:06:23 1993  Paul Eggert  (eggert@twinsun.com)
  43.  
  44.     * patchlevel.h: Patch level 12g10.
  45.  
  46.     * configure.in: Add AC_CONST.
  47.     * config.h.in: Add `const'.
  48.     * Makefile.in (.c.o): Add -DHAVE_CONFIG_H.
  49.     (getopt.o getopt1.o): Depend on config.h.
  50.  
  51.     * util.c (xmalloc): New function; alloca.c needs this.
  52.  
  53. Mon May 31 00:49:40 1993  Paul Eggert  (eggert@twinsun.com)
  54.  
  55.     * patchlevel.h: PATCHLEVEL 12g9.
  56.  
  57.     * backupfile.c, backupfile.h (addext): New function.
  58.     It uses pathconf(), if available, to determine maximum file
  59.     name length.
  60.     * patch.c (main): Use it for reject file name.
  61.     * common.h (ORIGEXT): Moved to patch.c.
  62.     * config.h.in (HAVE_PATHCONF): New macro.
  63.     * configure.in: Define it.
  64.  
  65.     * Makefile.in (dist): Use gzip, not compress.
  66.  
  67. Sat May 29 09:42:18 1993  Paul Eggert  (eggert@twinsun.com)
  68.  
  69.     * patch.c (main): Use pathconf to decide reject file name.
  70.     * common.h (REJEXT): Remove.
  71.  
  72.     * inp.c (plan_a): Don't lock the checked-out file if `patch -o'
  73.     redirected the output elsewhere.
  74.     * common.h (CHECKOUT_LOCKED, GET_LOCKED): New macros.  GET and
  75.     CHECKOUT now just checkout unlocked copies.
  76.  
  77. Fri May 28 08:44:50 1993  Paul Eggert  (eggert@twinsun.com)
  78.  
  79.     * backupfile.c (basename): Define even if NODIR isn't defined.
  80.     * patch.c (main): Ask just once to apply a reversed patch.
  81.  
  82. Tue Nov 24 08:09:04 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  83.  
  84.     * config.h.in, common.h: Use HAVE_FCNTL_H and HAVE_STRING_H
  85.     instead of USG.
  86.  
  87.     * backupfile.c: Use SYSDIR and NDIR instead of USG.
  88.     Define direct as dirent, not vice-versa.
  89.  
  90. Wed Sep 16 17:11:48 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  91.  
  92.     * patch.c (get_some_switches): optc should be int, not char.
  93.  
  94. Tue Sep 15 00:36:46 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  95.  
  96.     * patchlevel.h: PATCHLEVEL 12g8.
  97.  
  98. Mon Sep 14 22:01:23 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  99.  
  100.     * Makefile.in: Add uninstall target.
  101.  
  102.     * util.c (fatal, pfatal): Add some asterisks to make fatal
  103.     messages stand out more.
  104.  
  105. Tue Aug 25 22:13:36 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  106.  
  107.     * patch.c (main, get_some_switches), common.h, inp.c (plan_a,
  108.     plan_b), pch.c (there_is_another_patch): Add -t --batch
  109.     option, similar to -f --force.
  110.  
  111. Mon Jul 27 11:27:07 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  112.  
  113.     * common.h: Define SCCSDIFF and RCSDIFF.
  114.     * inp.c (plan_a): Use them to make sure it's safe to check out
  115.     the default RCS or SCCS version.
  116.     From Paul Eggert.
  117.  
  118. Mon Jul 20 14:10:32 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  119.  
  120.     * util.h: Declare basename.
  121.     * inp.c (plan_a), util.c (fetchname): Use it to isolate the
  122.     leading path when testing for RCS and SCCS files.
  123.  
  124. Fri Jul 10 16:03:23 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  125.  
  126.     * util.c (makedirs): Only make the directories that don't exist.
  127.     From chip@tct.com (Chip Salzenberg).
  128.  
  129. Wed Jul  8 01:20:56 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  130.  
  131.     * patch.c (main): Open ofp after checking for ed script.
  132.     Close ofp and rejfp before trying plan B.
  133.     From epang@sfu.ca (Eugene Pang).
  134.  
  135.     * util.c (fatal, pfatal): Print "patch: " before message.
  136.     * pch.c, inp.c, patch.c, util.c: Remove "patch: " from the
  137.     callers that had it.
  138.  
  139.     * common.h (myuid): New variable.
  140.     * patch.c (main): Initialize it.
  141.     * inp.c (myuid): Function removed.
  142.     (plan_a): Use the variable, not the function.
  143.  
  144.     * patch.c: Add back -E --remove-empty-files option.
  145.  
  146. Tue Jul  7 23:19:28 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  147.  
  148.     * inp.c (myuid): New function.
  149.     (plan_a): Call it.  Optimize stat calls.  Be smarter about
  150.     detecting checked out RCS and SCCS files.
  151.     From Paul Eggert (eggert@twinsun.com).
  152.  
  153.     * inp.c, util.c, patch.c: Don't bother checking for stat() > 0.
  154.  
  155. Mon Jul  6 13:01:52 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  156.  
  157.     * util.c (move_file): Use rename instead of link and copying.
  158.  
  159.     * util.c (pfatal): New function.
  160.     * util.h: Declare it and pfatal[1-4] macros.
  161.     * various files: Use it instead of fatal where appropriate.
  162.  
  163.     * common.h, patch.c: Replace Arg[cv]_last with optind_last.
  164.  
  165.     * patch.c (main, get_some_switches): Use getopt_long.  Update
  166.     usage message.
  167.     (nextarg): Function removed.
  168.  
  169.     * Rename FLEXFILENAMES to HAVE_LONG_FILE_NAMES,
  170.     VOIDSIG to RETSIGTYPE.
  171.  
  172.     * backupfile.c, common.h: Use STDC header files if available.
  173.     backupfile.h: Declare get_version.
  174.  
  175.     * COPYING, COPYING.LIB, INSTALL, Makefile.in, alloca.c,
  176.     config.h.in, configure, configure.in, getopt.[ch], getopt1.c,
  177.     rename.c: New files.
  178.     * Configure, MANIFEST, Makefile.SH, config.H, config.h.SH,
  179.     malloc.c: Files removed. 
  180.  
  181.     * version.c (version): Don't print the RCS stuff, since we're
  182.     not updating it regularly.
  183.  
  184.     * patchlevel.h: PATCHLEVEL 12u7.
  185.  
  186.     * Makefile.SH (dist): New target.
  187.     Makedist: File removed.
  188.  
  189.     * inp.c (plan_a): Check whether the user can write to the
  190.     file, not whether anyone can write to the file.
  191.  
  192. Sat Jul  4 00:06:58 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  193.  
  194.     * inp.c (plan_a): Try to check out read-only files from RCS or SCCS.
  195.  
  196.     * util.c (move_file): If backing up by linking fails, try copying.
  197.     From cek@sdc.boeing.com (Conrad Kimball).
  198.  
  199.     * patch.c (get_some_switches): Eliminate -E option; always
  200.     remove empty output files.
  201.  
  202.     * util.c (fetchname): Only undo slash removal for relative
  203.     paths if -p was not given.
  204.  
  205.     * Makefile.sh: Add mostlyclean target.
  206.  
  207. Fri Jul  3 23:48:14 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  208.  
  209.     * util.c (fetchname): Accept whitespace between `Index:' and filename.
  210.     Also plug a small memory leak for diffs against /dev/null.
  211.     From eggert@twinsun.com (Paul Eggert).
  212.  
  213.     * common.h: Don't define TRUE and FALSE if already defined.
  214.     From phk@data.fls.dk (Poul-Henning Kamp).
  215.  
  216. Wed Apr 29 10:19:33 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  217.  
  218.     * backupfile.c (get_version): Exit if given a bad backup type.
  219.  
  220. Fri Mar 27 09:57:14 1992  Karl Berry  (karl at hayley)
  221.  
  222.         * common.h (S_ISDIR, S_ISREG): define these.
  223.         * inp.c (plan_a): use S_ISREG, not S_IFREG.
  224.         * util.c (fetchname): use S_ISDIR, not S_IFDIR.
  225.  
  226. Mon Mar 16 14:10:42 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  227.  
  228.     * patchlevel.h: PATCHLEVEL 12u6.
  229.  
  230. Sat Mar 14 13:13:29 1992  David J. MacKenzie  (djm at frob.eng.umd.edu)
  231.  
  232.     * Configure, config.h.SH: Check for directory header and unistd.h.
  233.  
  234.     * patch.c (main): If -E was given and output file is empty after
  235.     patching, remove it.
  236.     (get_some_switches): Recognize -E option.
  237.  
  238.     * patch.c (copy_till): Make garbled output an error, not a warning
  239.     that doesn't change the exit status.
  240.  
  241.     * common.h: Protect against system declarations of malloc and realloc.
  242.  
  243.     * Makedist: Add backupfile.[ch].
  244.  
  245.     * Configure: Look for C library where NeXT and SVR4 put it.
  246.     Look in /usr/ucb after /bin and /usr/bin for utilities,
  247.     and look in /usr/ccs/bin, to make SVR4 happier.
  248.     Recognize m68k predefine.
  249.  
  250.     * util.c (fetchname): Test of stat return value was backward.
  251.     From csss@scheme.cs.ubc.ca.
  252.  
  253.     * version.c (version): Exit with status 0, not 1.
  254.  
  255.     * Makefile.SH: Add backupfile.[cho].
  256.     * patch.c (main): Initialize backup file generation.
  257.     (get_some_switches): Add -V option.
  258.     * common.h, util,c, patch.c: Replace origext with simple_backup_suffix.
  259.     * util.c (move_file): Use find_backup_file_name.
  260.  
  261. Tue Dec  3 11:27:16 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  262.  
  263.     * patchlevel.h: PATCHLEVEL 12u5.
  264.  
  265.     * Makefile.SH: Change clean, distclean, and realclean targets a
  266.     little so they agree with the GNU coding standards.
  267.     Add Makefile to addedbyconf, so distclean removes it.
  268.  
  269.     * Configure: Recognize Domain/OS C library in /lib/libc.
  270.     From mmuegel@mot.com (Michael S. Muegel).
  271.  
  272.     * pch.c: Fixes from Wayne Davison:
  273.     Patch now accepts no-context context diffs that are
  274.     specified with an assumed one line hunk (e.g.  "*** 10 ****").
  275.     Fixed a bug in both context and unified diff processing that would
  276.     put a zero-context hunk in the wrong place (one line too soon).
  277.     Fixed a minor problem with p_max in unified diffs where it would
  278.     set p_max to hunkmax unnecessarily (the only adverse effect was to
  279.     not supply empty lines at eof by assuming they were truncated).
  280.  
  281. Tue Jul  2 03:25:51 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  282.  
  283.     * Configure: Check for signal declaration in
  284.     /usr/include/sys/signal.h as well as /usr/include/signal.h.
  285.  
  286.     * Configure, common.h, config.h.SH: Comment out the sprintf
  287.     declaration and tests to determine its return value type.  It
  288.     conflicts with ANSI C systems' prototypes in stdio.h and the
  289.     return value of sprintf is never used anyway -- it's always cast
  290.     to void.
  291.  
  292. Thu Jun 27 13:05:32 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  293.  
  294.     * patchlevel.h: PATCHLEVEL 12u4.
  295.  
  296. Thu Feb 21 15:18:14 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  297.  
  298.     * pch.c (another_hunk): Fix off by 1 error.  From
  299.     iverson@xstor.com (Tim Iverson).
  300.  
  301. Sun Jan 20 20:18:58 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  302.  
  303.     * Makefile.SH (all): Don't make a dummy `all' file.
  304.  
  305.     * patchlevel.h: PATCHLEVEL 12u3.
  306.  
  307.     * patch.c (nextarg): New function.
  308.     (get_some_switches): Use it, to prevent dereferencing a null
  309.     pointer if an option that takes an arg is not given one (is last
  310.     on the command line).  From Paul Eggert.
  311.  
  312.     * pch.c (another_hunk): Fix from Wayne Davison to recognize
  313.     single-line hunks in unified diffs (with a single line number
  314.     instead of a range).
  315.  
  316.     * inp.c (rev_in_string): Don't use `s' before defining it.  From
  317.     Wayne Davison.
  318.  
  319. Mon Jan  7 06:25:11 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  320.  
  321.     * patchlevel.h: PATCHLEVEL 12u2.
  322.  
  323.     * pch.c (intuit_diff_type): Recognize `+++' in diff headers, for
  324.     unified diff format.  From unidiff patch 1.
  325.  
  326. Mon Dec  3 00:14:25 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  327.  
  328.     * patch.c (get_some_switches): Make the usage message more
  329.     informative. 
  330.  
  331. Sun Dec  2 23:20:18 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  332.  
  333.     * Configure: When checking for C preprocessor, look for 'abc.*xyz'
  334.     instead of 'abc.xyz', so ANSI C preprocessors work.
  335.  
  336.     * Apply fix for -D from ksb@mentor.cc.purdue.edu (Kevin Braunsdorf).
  337.  
  338.     * Apply unidiff patches from davison@dri.com (Wayne Davison).
  339.  
  340. Wed Mar  7 23:47:25 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  341.  
  342.     * pch.c: Call malformed instead of goto malformed
  343.     (just allows easier debugging).
  344.  
  345. Tue Jan 23 21:27:00 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  346.  
  347.     * common.h (TMP*NAME): Make these char *, not char [].
  348.     patch.c (main): Use TMPDIR (if present) to set TMP*NAME.
  349.     common.h: Declare getenv.
  350.  
  351. Sun Dec 17 17:29:48 1989  Jim Kingdon  (kingdon at hobbes.ai.mit.edu)
  352.  
  353.     * patch.c (reverse_flag_specified): New variable.
  354.     (get_some_switches, reinitialize_almost_everything): Use it.
  355.  
  356. Local Variables:
  357. mode: indented-text
  358. left-margin: 8
  359. version-control: never
  360. end:
  361.